package model.contract;

import java.sql.Timestamp;

/**
 * Contractpledge entity. @author MyEclipse Persistence Tools
 */

public class Contractpledge implements java.io.Serializable {

	// Fields

	private Integer id;
	private String pledgeid;
	private String pledgetype;
	private String pledgename;
	private String contractloanid;
	private Integer custompledgeid;
	private String custompledgetype;
	private Integer thingsid;
	private Double pledgemoney;
	private Timestamp start;
	private Timestamp end;
	private Timestamp contractensuredate;
	private Timestamp createtime;
	private Integer clerkid;
	private String state;

	// Constructors

	/** default constructor */
	public Contractpledge() {
	}

	/** minimal constructor */
	public Contractpledge(String pledgeid, String contractloanid,
			Integer custompledgeid, Double pledgemoney) {
		this.pledgeid = pledgeid;
		this.contractloanid = contractloanid;
		this.custompledgeid = custompledgeid;
		this.pledgemoney = pledgemoney;
	}

	/** full constructor */
	public Contractpledge(String pledgeid,String pledgetype,String pledgename, String contractloanid,
			Integer custompledgeid, String custompledgetype, Integer thingsid,
			Double pledgemoney, Timestamp start, Timestamp end,
			Timestamp contractensuredate, Timestamp createtime,
			Integer clerkid, String state) {
		this.pledgeid = pledgeid;
		this.pledgetype=pledgetype;
		this.pledgename=pledgename;
		this.contractloanid = contractloanid;
		this.custompledgeid = custompledgeid;
		this.custompledgetype = custompledgetype;
		this.thingsid = thingsid;
		this.pledgemoney = pledgemoney;
		this.start = start;
		this.end = end;
		this.contractensuredate = contractensuredate;
		this.createtime = createtime;
		this.clerkid = clerkid;
		this.state = state;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPledgeid() {
		return this.pledgeid;
	}

	public void setPledgeid(String pledgeid) {
		this.pledgeid = pledgeid;
	}

	public String getContractloanid() {
		return this.contractloanid;
	}

	public void setContractloanid(String contractloanid) {
		this.contractloanid = contractloanid;
	}

	public Integer getCustompledgeid() {
		return this.custompledgeid;
	}

	public void setCustompledgeid(Integer custompledgeid) {
		this.custompledgeid = custompledgeid;
	}

	public String getCustompledgetype() {
		return this.custompledgetype;
	}

	public void setCustompledgetype(String custompledgetype) {
		this.custompledgetype = custompledgetype;
	}

	public Integer getThingsid() {
		return this.thingsid;
	}

	public void setThingsid(Integer thingsid) {
		this.thingsid = thingsid;
	}

	public Double getPledgemoney() {
		return this.pledgemoney;
	}

	public void setPledgemoney(Double pledgemoney) {
		this.pledgemoney = pledgemoney;
	}

	public Timestamp getStart() {
		return this.start;
	}

	public void setStart(Timestamp start) {
		this.start = start;
	}

	public Timestamp getEnd() {
		return this.end;
	}

	public void setEnd(Timestamp end) {
		this.end = end;
	}

	public Timestamp getContractensuredate() {
		return this.contractensuredate;
	}

	public void setContractensuredate(Timestamp contractensuredate) {
		this.contractensuredate = contractensuredate;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	public Integer getClerkid() {
		return this.clerkid;
	}

	public void setClerkid(Integer clerkid) {
		this.clerkid = clerkid;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getPledgetype() {
		return pledgetype;
	}

	public void setPledgetype(String pledgetype) {
		this.pledgetype = pledgetype;
	}

	public String getPledgename() {
		return pledgename;
	}

	public void setPledgename(String pledgename) {
		this.pledgename = pledgename;
	}

}